package com.ruoyi.crm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 项目里程碑对象 project_milepost
 *
 * @author ruoyi
 * @date 2021-08-30
 */
public class ProjectMilepost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 里程碑编号 */
    @Excel(name = "里程碑编号")
    private String milepostNo;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 里程碑名称 */
    @Excel(name = "里程碑名称")
    private String milepostName;

    /** 里程碑日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "里程碑日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date milepostDate;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 项目负责人 */
    @Excel(name = "项目负责人")
    private String follower;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setMilepostNo(String milepostNo)
    {
        this.milepostNo = milepostNo;
    }

    public String getMilepostNo()
    {
        return milepostNo;
    }
    public void setProjectName(String projectName)
    {
        this.projectName = projectName;
    }

    public String getProjectName()
    {
        return projectName;
    }
    public void setMilepostName(String milepostName)
    {
        this.milepostName = milepostName;
    }

    public String getMilepostName()
    {
        return milepostName;
    }
    public void setMilepostDate(Date milepostDate)
    {
        this.milepostDate = milepostDate;
    }

    public Date getMilepostDate()
    {
        return milepostDate;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setFollower(String follower)
    {
        this.follower = follower;
    }

    public String getFollower()
    {
        return follower;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("milepostNo", getMilepostNo())
                .append("projectName", getProjectName())
                .append("milepostName", getMilepostName())
                .append("milepostDate", getMilepostDate())
                .append("type", getType())
                .append("createDate", getCreateDate())
                .append("updateTime", getUpdateTime())
                .append("follower", getFollower())
                .toString();
    }
}